<include file="Public:header" />
<include file="Public:leftside" />
<link rel="stylesheet" type="text/css" href="/Store/css/transport/transport.css" />
<div class="main-content" id="mainContent">
	<div class="breadcrumbs breadcrumbs-fixed" id="breadcrumbs">
		<ul class="breadcrumb">
			<li> <i class="icon-home home-icon"></i>
				<a href="/">首页</a>
			</li>
			<li>
				<a href="{:U('Shop/transport')}">运费模板</a>
			</li>

		</ul>
	</div>
	<div class="tabmenu">
		<ul class="tab pngFix">
			<li class="active">
				<a href="{:U('Shop/transport')}">运费模板</a>
			</li>
		</ul>
		<a class="ncsc-btn ncsc-btn-green" href="{:U('Shop/transportadd')}">新增运费模板 </a>
	</div>
	<!-----------------list begin------------------------>
	<table class="ncsc-table-style order">
		<thead>
			<tr>
				<th class="w120">运送方式</th>
				<th class="cell-area tl">运送到</th>
				<th class="w100">首件(个)</th>
				<th class="w100">运费(元)</th>
				<th class="w100">续件(个)</th>
				<th class="w100">运费(元)</th>
			</tr>
		</thead>
		<foreach name="list" item="v">
			<tbody>
				<tr>
					<td colspan="20" class="sep-row"></td>
				</tr>
				<tr>
					<th colspan="20"><h3>{$v['title']}</h3>

						<span class="fr mr5">
	       					 <time title="最后编辑时间"><i class="icon-time"></i>{:date('Y-m-d H:i:s',$v['update_time'])}</time>
						        <a class="J_Modify ncsc-btn-mini" href="{:U('shop/transportedit',array('id'=>$v['id']))}"><i class="icon-edit"></i>修改</a> 
						        <a class="J_Delete ncsc-btn-mini" href="{:U('shop/transportdel',array('id'=>$v['id']))}" onclick="javascript:return del()"><i class="icon-trash"></i>删除</a>
						</span>
					</th>
				</tr>
				<foreach name="v['extend']" item="vo">
					<tr>
						<td class="bdl"></td>
						<td class="cell-area tl">{$vo.area_name}</td>
						<td>{$vo.snum}</td>
						<td>{$vo.sprice}</td>
						<td>{$vo.xnum}</td>
						<td class="bdr">{$vo.xprice}</td>
					</tr>
				</foreach>
			</tbody>
		</foreach>
	</table>
	<div class="page">
		<ul>
			{$page}
		</ul>
	</div>
	<!-----------------list end----------------------->

</div>
<script type="text/javascript">

function del() {   
	var msg = "您真的确定要删除吗？\n\n请确认！";   
	if (confirm(msg)==true){    
		return true;   
	}else{    
		return false;   
	}  
}  
</script> 

<include file="Public:footer" />